package apps.AfterDlcs.afterDlcsBL.buff;

import apps.AfterDlcs.AfterDlcs;
import backs.dataBase.DBNormal;

public class BuffBL
{
    public static String getBuffValue(int group,int id,String key)
    {
        return getBuffValue(group,id,key,null,false);
    }

    public static String getBuffValue(int group,int id,String key,String defaultValue,boolean reset)
    {
        return DBNormal.getValue(AfterDlcs.dbName, group, "buff_"+id+"_"+key,defaultValue,reset);
    }

    public static void setBuffValue(int group,int id,String key,String value)
    {
        DBNormal.setValue(AfterDlcs.dbName, group, "buff_"+id+"_"+key,value,true);
    }
}
